package ru.ifmo.thesis.util;

import java.util.Random;

public class MyArrays {

	private static final Random RANDOM = new Random();
	
	public static <T> T getRandom(T[] data) {
		return data[RANDOM.nextInt(data.length)];
	}
}
